package example09;

public class TestBook {
	public static void main(String[] args) {
		Author teck=new Author ("tan ah teck", "teck@nowhere.com",'m');
		System.out.println (teck);
		Book dummyBook=new Book("java for dummies", teck,9.99,88);
		System.out.println (dummyBook);
		Book moreDummtBook=new Book("java for dummies", new Author ("peter lee","peter@nowhere.com",'m'),19.99,88);
		System.out.println (moreDummtBook);
	}
}
